package one.stand.mapper;

import one.stand.model.CompanyApplyRecordModel;
import one.stand.model.CompanyCategoryModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyApplyRecordModelMapper {
    int deleteByPrimaryKey(Integer companyApplyId);

    int insert(CompanyApplyRecordModel record);

    int insertSelective(CompanyApplyRecordModel record);

    CompanyApplyRecordModel selectByPrimaryKey(Integer companyApplyId);

    int updateByPrimaryKeySelective(CompanyApplyRecordModel record);

    int updateByPrimaryKey(CompanyApplyRecordModel record);

    List<CompanyCategoryModel> selectAll(@Param("request") CompanyApplyRecordModel request);

    void updateAgentCnt(@Param("model") CompanyApplyRecordModel companyApplyRecordModel);
}